﻿<Window x:Class="Coding4Fun.Cannon.Wpf.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525" Loaded="Window_Loaded">
    <Grid>
        <Button Content="Foward" Height="23" HorizontalAlignment="Left" Margin="12,12,0,0" Name="btnForward" VerticalAlignment="Top" Width="75" Click="btnForward_Click" />
        <Button Content="Reverse" Height="23" HorizontalAlignment="Left" Margin="12,70,0,0" Name="btnRev" VerticalAlignment="Top" Width="75" Click="btnRev_Click" />
        <Button Content="Stop" Height="23" HorizontalAlignment="Left" Margin="12,41,0,0" Name="btnStop" VerticalAlignment="Top" Width="75" Click="btnStop_Click" />
        <Label Content="Label" Height="28" HorizontalAlignment="Left" Margin="93,43,0,0" Name="label1" VerticalAlignment="Top" />
        <Label Content="Label" Height="28" HorizontalAlignment="Left" Margin="93,12,0,0" Name="label2" VerticalAlignment="Top" />
        <Slider Height="23" HorizontalAlignment="Left" Margin="255,140,0,0" Name="slider1" VerticalAlignment="Top" Width="217" ValueChanged="slider1_ValueChanged" Minimum="-180" Maximum="180" />
        <Slider Height="23" HorizontalAlignment="Left" Margin="255,169,0,0" Name="slider2" VerticalAlignment="Top" Width="217" ValueChanged="slider2_ValueChanged" Minimum="0" Maximum="45" />
        <Label Content="{Binding Path=Value, ElementName=slider1}" Height="28" HorizontalAlignment="Left" Margin="478,135,0,0" Name="label3" VerticalAlignment="Top" />
        <Label Content="{Binding Path=Value, ElementName=slider2}"  Height="28" HorizontalAlignment="Left" Margin="478,164,0,0" Name="label4" VerticalAlignment="Top" />
        <Button Content="pan -90" Height="23" HorizontalAlignment="Left" Margin="12,140,0,0" Name="button1" VerticalAlignment="Top" Width="75" Click="button1_Click" />
        <Button Content="pan 0" Height="23" HorizontalAlignment="Left" Margin="93,140,0,0" Name="button2" VerticalAlignment="Top" Width="75" Click="button2_Click" />
        <Button Content="pan 90" Height="23" HorizontalAlignment="Left" Margin="174,140,0,0" Name="button3" VerticalAlignment="Top" Width="75" Click="button3_Click" />
        <Button Content="Fire" Height="23" HorizontalAlignment="Left" Margin="298,54,0,0" Name="button4" VerticalAlignment="Top" Width="75" Click="button4_Click" />
        <Button Content="Halt" Height="23" HorizontalAlignment="Left" Margin="93,169,0,0" Name="button5" VerticalAlignment="Top" Width="75" Click="button5_Click" />
        <Button Content="Move" Height="23" HorizontalAlignment="Left" Margin="380,257,0,0" Name="button6" VerticalAlignment="Top" Width="75" Click="button6_Click" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="253,257,0,0" Name="txtMovement" VerticalAlignment="Top" Width="120" Text="2" />
        <Button Content="Reset" Height="23" HorizontalAlignment="Left" Margin="380,288,0,0" Name="button7" VerticalAlignment="Top" Width="75" Click="button7_Click" />
    </Grid>
</Window>
